home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
FRMVERRO.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-01
|
564b
|
27 lines
/**************************************************************************
* FRMVERRO.C - The frm_verror() routine.
*************************************************************************/
#include "gemfintl.h"
#include "exterror.h"
extern char *_Frmaddmsg;
short frm_verror(err, buttons, fmt, args)
short err;
char *buttons;
char *fmt;
va_list args;
{
char *msg;
if (err) {
if (NULL == (msg = exterror(err))) {
msg = "<no message>";
}
_Frmaddmsg = msg;
}
return frm_vprintf(FRM_NORMAL, buttons, fmt, args);
}